package com.cskaoyan.demo6.mapper;

import com.cskaoyan.demo6.bean.model.MarketRegion;
import com.cskaoyan.demo6.bean.model.MarketRegionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*@Description：
*@Author：BLUEBLANK
*@Date：2024/4/20  21:13
*/


    
public interface MarketRegionMapper {
    long countByExample(MarketRegionExample example);

    int deleteByExample(MarketRegionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketRegion record);

    int insertOrUpdate(MarketRegion record);

    int insertOrUpdateSelective(MarketRegion record);

    int insertSelective(MarketRegion record);

    List<MarketRegion> selectByExample(MarketRegionExample example);

    MarketRegion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketRegion record, @Param("example") MarketRegionExample example);

    int updateByExample(@Param("record") MarketRegion record, @Param("example") MarketRegionExample example);

    int updateByPrimaryKeySelective(MarketRegion record);

    int updateByPrimaryKey(MarketRegion record);

    int updateBatch(List<MarketRegion> list);

    int updateBatchSelective(List<MarketRegion> list);

    int batchInsert(@Param("list") List<MarketRegion> list);
}